package com.itheima.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_link")
public class Link implements Serializable {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "title")
    private String title;
    @Column(name = "summary")
    private String summary;
    @Column(name = "url")
    private String url;
    @Column(name = "click_count")
    private Integer clickCount;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "status")
    private Byte status;
    @Column(name = "sort")
    private Integer sort;
    @Column(name = "link_status")
    private Byte linkStatus;
    @Column(name = "user_uid")
    private String useruid;
    @Column(name = "admin_uid")
    private String adminuid;

}